﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZHDJ.WinService.Util
{
    public class ScheduledJobInfo
    {
        public ScheduledJobInfo(string jobFlag, string jobName, string jobCron, string jobSql)
        {
            JobName = jobName;
            JobSql = jobSql;
            JobCron = jobCron;
            JobFlag = jobFlag;
        }

        /// <summary>
        /// 作业标识
        /// </summary>
        public string JobFlag { get; set; }
        /// <summary>
        /// 作业名称
        /// </summary>
        public string JobName { get; set; }
        /// <summary>
        /// 作业 Cron表达式
        /// </summary>
        public string JobCron { get; set; }
        /// <summary>
        /// 作业执行的sql()
        /// </summary>
        public string JobSql { get; set; }

        public bool IsUpdate { get; set; }

      
    }
}
